package org.ahuanlien.crm.service;

import org.ahuanlien.crm.domain.Employee;
import org.ahuanlien.crm.query.EmployeeQueryObject;
import org.ahuanlien.crm.util.PageResult;

import java.util.List;

public interface IEmployeeService {

	void saveOrUpdate(Employee record);

	PageResult query(EmployeeQueryObject qo);

	Employee getByUsername(String username);

	void changeState(Long id);

	void initPassword(Long id);

    List<Employee> selectAll();
}
